// -----------------------------------------------------------------------------
// Generate By Furion Tools v1.6.0                            
// -----------------------------------------------------------------------------

using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;

#nullable disable

namespace iemtm.WeChat.Core
{
    public partial class RepairRule : IEntity<MasterDbContextLocator>, IEntityTypeBuilder<RepairRule, MasterDbContextLocator>
    {

        public int RepairRuleId { get; set; }
        public string RepairRuleName { get; set; }
        public int AccumulateRunInterval { get; set; }
        public int FixInterval { get; set; }
        public string RepairLevelName { get; set; }
        public int RepairOpt { get; set; }
    
        public void Configure(EntityTypeBuilder<RepairRule> entityBuilder, DbContext dbContext, Type dbContextLocator)
        {
                entityBuilder.Property(e => e.RepairLevelName).HasMaxLength(20);

                entityBuilder.Property(e => e.RepairRuleName).HasMaxLength(20);
        }

    }
}

